var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var attrFromAtkType = require('../../../app/libs/war/attrFromAtkType');
var config = require('../../config');
var dataApi = require('../../../app/libs/dataApi');

suite('测试attrFromAtkType', function () {
    suite('getAttr', function () {
        test('获取技能数据正确', function () {
            attrFromAtkType.getAttr(1, 100).min_atk.should.equal(100);
            attrFromAtkType.getAttr(1, 100).max_atk.should.equal(100);
            attrFromAtkType.getAttr(2, 100).ice_damage.should.equal(100);
            attrFromAtkType.getAttr(3, 100).fire_damage.should.equal(100);
            attrFromAtkType.getAttr(4, 100).light_damage.should.equal(100);
            attrFromAtkType.getAttr(5, 100).city_damage.should.equal(100);
            attrFromAtkType.getAttr(100, 100);
        });
    });
});
